//
//  ApiManager.h
//  RYMart
//
//  Created by iMac on 2017/10/30.
//  Copyright © 2017年 Jason. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BaseApi.h"
@interface ApiManager : BaseApi
+ (ApiManager *)ShardInstance;

//登录
- (void)loginAccount:(NSString *)account password:(NSString *)password resultBlock:(BaseResultBlock)block;
//认证
- (void)authNmae:(NSString *)name iccard:(NSString *)iccard type:(NSString *)type resultBlock:(BaseResultBlock)block;
// 部门选择
- (void)bumenResultBlock:(BaseResultBlock)block;
// 获取验证码
- (void)codeuserID:(NSString *)userid mobile:(NSString *)mobile type:(NSString *)type resultBlock:(BaseResultBlock)block;
//会员注册
- (void)userRegisteruserID:(NSString *)userid  mobile:(NSString *)mobile section_id:(NSString *)section_id company_id:(NSString *)company_id captcha:(NSString *)captcha resultBlock:(BaseResultBlock)block;
//用户信息
- (void)userinfoResultBlock:(BaseResultBlock)block;
//忘记密码
- (void)forgetPassuserID:(NSString *)userid  new_pass:(NSString *)new_pass captcha:(NSString *)captcha resultBlock:(BaseResultBlock)block ;
//轮播图
- (void)sliderResultBlock:(BaseResultBlock)block ;
// 员工诉求列表
- (void)stffListstaff_id:(NSString *)staff_id  page:(int)page status:(NSString *)status resultBlock:(BaseResultBlock)block;
// 归属部门诉求列表
- (void)section_main_appeal_liststaff_id:(NSString *)staff_id  page:(int)page status:(NSString *)status resultBlock:(BaseResultBlock)block;
//领导产看诉求列表
- (void)sectionListstaff_id:(NSString *)staff_id  page:(int)page status:(NSString *)status resultBlock:(BaseResultBlock)block;

// 部门负责人诉求列表
- (void)section_normal_appeal_liststaff_id:(NSString *)staff_id  page:(int)page status:(NSString *)status resultBlock:(BaseResultBlock)block;
//领导负责人诉求列表
- (void)leaderMainAppealliststaff_id:(NSString *)staff_id  page:(int)page status:(NSString *)status resultBlock:(BaseResultBlock)block;
//公告列表
- (void)noticeListParentid:(NSString *)parentid page:(int)page resultBlock:(BaseResultBlock)block;
//公告详情
- (void)getDetailNoticeID:(NSString *)noticeID  resultBlock:(BaseResultBlock)block;
//发展建议 投诉检举
//- (void)getInfoPoststaff_id:(NSString *)staff_id type:(NSString *)type content:(NSString *)content name:(NSArray *)name work_address:(NSArray *)work_address photo_name:(NSArray *)photo_name photo_urls:(NSArray *)photo_urls resultBlock:(BaseResultBlock)block;
- (void)getInfoPoststaff_id:(NSString *)staff_id type:(NSString *)type content:(NSString *)content name:(NSString *)name work_address:(NSString *)work_address photo_name:(NSArray *)photo_name photo_urls:(NSArray *)photo_urls resultBlock:(BaseResultBlock)block ;

// 上传图片
- (void)upLoadImageimageArray:(NSArray *)imageArray resultBlock:(BaseResultBlock)block;

//办理诉求详情
//- (void)admin_appeal_detailID:(NSString *)suqID  resultBlock:(BaseResultBlock)block;
- (void)admin_appeal_detailID:(NSString *)suqID staff_id:(NSString *)staff_id auth:(NSString *)auth resultBlock:(BaseResultBlock)block;
//员工诉求详情
- (void)staff_appeal_detailID:(NSString *)suqID  resultBlock:(BaseResultBlock)block;
//诉求类型
- (void)appealTypeResultBlock:(BaseResultBlock)block;
//发布诉求
- (void)appealPoststaff_id:(NSString *)staff_id type:(NSString *)type content:(NSString *)content photo_name:(NSArray *)photo_name photo_urls:(NSArray *)photo_urls resultBlock:(BaseResultBlock)block;

//诉求办理
- (void)appealFlowPostAppeal_id:(NSString *)appeal_id user_id:(NSString  *)user_id receive_id:(NSString *)receive_id status:(NSString *)status content:(NSString *)content last_step:(NSString *)last_step photo_name:(NSArray *)photo_name photo_urls:(NSArray *)photo_urls auth:(NSString *)auth resultBlock:(BaseResultBlock)block;
//发送领导
- (void)getLeadersstaff_id:(NSString *)staff_id resultBlock:(BaseResultBlock)block;
// 发送科室
- (void)getSectionsstaff_id:(NSString *)staff_id resultBlock:(BaseResultBlock)block;
// 员工诉求详情
- (void)staffAppealDetailID:(NSString *)staff_id resultBlock:(BaseResultBlock)block;
// 诉求评价
- (void)appraiseParent_id:(NSString *)parent_id  staff_id:(NSString *)staff_id type:(NSString *)type content:(NSString *)content resultBlock:(BaseResultBlock)block;
// 待办数字显示
- (void)appealUntreatedNumStaff_id:(NSString *)staff_id role_id:(NSString *)role_id resultBlock:(BaseResultBlock)block;
// 流程步骤
- (void)appealFlowChartId:(NSString *)appealID  resultBlock:(BaseResultBlock)block;
//修改部门
- (void)editSectionid:(NSString *)userID  company_id:(NSString *)company_id section_id:(NSString *)section_id captcha:(NSString *)captcha resultBlock:(BaseResultBlock)block;
// 修改手机号
- (void)editMobileid:(NSString *)userID  pass:(NSString *)pass mobile:(NSString *)mobile captcha:(NSString *)captcha resultBlock:(BaseResultBlock)block;
// 修改密码
- (void)editPassid:(NSString *)userID  old_pass:(NSString *)old_pass new_pass:(NSString *)new_pass captcha:(NSString *)captcha resultBlock:(BaseResultBlock)block;
//热线电话
- (void)getHotTelResultBlock:(BaseResultBlock)block;
@end

